<!DOCTYPE html>
 <html manifest="IGNORE.manifest">
<head>
<meta charset="UTF-8">
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<title>匿名聊天室</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
	<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<script src="config.js"></script>
<script src="chatroomws.js"></script>
<link href="css/litewebchat.min.css" rel="stylesheet" type="text/css" />
  <style>
   html{
      height: 100%;
   }
   body{
      height: 100%;
   }
</style>
<script type="text/javascript">
	var ip = getIp()
	$(document).ready(function() {

    var s = location.search.substring(1);
    console.log("s"+s)
    var urlParam = decodeURIComponent(s)
 	var roomName = urlParam.split("&") 
    enterRoom(roomName[0])
	    
	});
	
	 
</script>
</head>
<body>
<div id="head">在线人数：<span id="onlineNum"></span></div>
<div id="chatbox" class="lite-chatbox" style="overflow:auto; height:85%; width: 100%;">
 
    <div class="tips">
        <span class="tips-success">系统消息：欢迎加入【<font id="name"></font>】</span>
    </div>
</div>

<div id="sendDiv" style=" width: 100%; bottom: 0px;position:absolute;">
	<div style="text-align:center; float:left; margin-bottom: 1px;width: 80%"><input id="content" type="text" class="form-control" placeholder="" ></div>
	<div style="text-align:center; float:left; margin-bottom: 1px; width: 20%"><button type="button" class="btn btn-default" onclick="send()">发送</button></div>
</div>
</body>
</html>